home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
L' Effet Pommier 3
/
L'Effet Pommier - Volume 03.iso
/
Programmation
/
Alpha ƒ
/
Help
/
CodeWarrior
< prev
next >
Wrap
Text File
|
1995-11-16
|
3KB
|
63 lines
CodeWarrior
Code Warrior now has support for external editors. Alpha's support is
implemented entirely in Tcl, Alpha's macro language. The source can be
found in :Tcl:SystemCode:codeWarrior.tcl.
While CodeWarrior (as of CW7) still doesn't vector open-file requests to
editors, Pete Gontier's 'ClickWarrior' init can do it for you. Drop
'ClickWarrior' in your system folder, restart, and selections from
CodeWarrior's project window will be vectored to Alpha. See here for the
Tcl code that was used (no changes to Alpha's core were necessary).
Alpha/CodeWarrior interaction does not need any setup. By default,
windows with any C or C++ suffixes will open with CodeWarrior and
ThinkReference menus. The CodeWarrior menu is explained below:
CodeWarrior
"Switch To" - Switch to CodeWarrior app.
"Werks Flags"
"Debugger" - Specify debugger option on run command.
"Create FileSet" - Create a fileset containing all text files in
the project currently opened in CodeWarrior.
Note that as of 11/30/94, MetroWerks still had
bugs in their support of the events used for
this feature, so it might not always wowrk.
"Add File" - Add frontmost window to the current project.
"Compile" - Compile frontmost window.
"Compile Files" - Compile all windows in the same mode as the
frontmost window.
"Check Syntax" - Check syntax of frontmost window.
"Precompile╔" - Prompt user for destination and compile
frontmost window to destination.
Destination must already exist.
"Update" - Update current project.
"Make" - Make current project.
"Launch Debugger" - Launch the metrowerks debugger.
"Set Breakpoint" - Set a breakpoint at the current line of the
frontmost window.
"Clear Breakpoint" - Clear a breakpoint at the current line of the
frontmost window.
"Show Source" - show the current line of the frontmost window
in the debugger.
"Next Error" - Display next error.
"Run" - Run current project.
All of the functions that cause compilation to take place return any
errors in a window called "* Compiler Errors *". Individual errors can
be selected by using the up and down arrow keys. Return/Enter is used to
bring up the offending file at the correct line.
Unlike THINK, Metrowerks does not provide a way to vector open window
events to external editors. Currently (11/30/94), there is also no way to
display the includes compiled into a project file.
The latest version of Alpha is always available under public/Alpha on
cs.rice.edu.
Pete Keleher
11/30/94